package com.chushouya.product.dto.admin.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 商品属性输出VO
 */
@Data
@ApiModel("商品属性输出VO")
public class ProductAttrVO {

    @ApiModelProperty("属性ID")
    private Long attrId;

    @ApiModelProperty("属性名称")
    private String attrName;

    @ApiModelProperty("属性值列表")
    private List<AttrValueVO> attrValues;

    public ProductAttrVO() {
    }

    public ProductAttrVO(Long attrId, String attrName, List<AttrValueVO> attrValues) {
        this.attrId = attrId;
        this.attrName = attrName;
        this.attrValues = attrValues;
    }
}
